.class public Lcom/waiqin365/lightapp/view/ag;
.super Ljava/lang/Object;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/view/animation/Animation;

.field private c:Landroid/view/animation/Animation;

.field private d:Lcom/waiqin365/lightapp/view/al;

.field private e:Landroid/view/View;

.field private f:I

.field private g:I

.field private h:Lcom/waiqin365/lightapp/view/an;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/view/View;IILcom/waiqin365/lightapp/view/ak;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    iput p3, p0, Lcom/waiqin365/lightapp/view/ag;->f:I

    iput p4, p0, Lcom/waiqin365/lightapp/view/ag;->g:I

    invoke-direct {p0, p5}, Lcom/waiqin365/lightapp/view/ag;->b(Lcom/waiqin365/lightapp/view/ak;)V

    invoke-direct {p0, p5}, Lcom/waiqin365/lightapp/view/ag;->a(Lcom/waiqin365/lightapp/view/ak;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/ag;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    return-object v0
.end method

.method private a(Lcom/waiqin365/lightapp/view/ak;)V
    .locals 5

    const/4 v4, 0x1

    const/4 v0, 0x0

    sget-object v1, Lcom/waiqin365/lightapp/view/aj;->a:[I

    invoke-virtual {p1}, Lcom/waiqin365/lightapp/view/ak;->ordinal()I

    move-result v2

    aget v1, v1, v2

    packed-switch v1, :pswitch_data_0

    move-object v1, v0

    :goto_0
    const v0, 0x7f0c007b

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/waiqin365/lightapp/view/al;

    iget v2, p0, Lcom/waiqin365/lightapp/view/ag;->f:I

    iget v3, p0, Lcom/waiqin365/lightapp/view/ag;->g:I

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/lightapp/view/al;-><init>(Lcom/waiqin365/lightapp/view/ag;Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/al;->setFocusable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/al;->setTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/al;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/al;->setAnimationStyle(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    new-instance v2, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v3, "#4d000000"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/al;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    const/16 v2, 0x10

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/al;->setSoftInputMode(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/al;->setInputMethodMode(I)V

    new-instance v0, Lcom/waiqin365/lightapp/view/ah;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ah;-><init>(Lcom/waiqin365/lightapp/view/ag;)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void

    :pswitch_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v2, 0x7f030010

    invoke-static {v1, v2, v0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v2, 0x7f030012

    invoke-static {v1, v2, v0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v2, 0x7f030011

    invoke-static {v1, v2, v0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v2, 0x7f03000f

    invoke-static {v1, v2, v0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/ag;)Lcom/waiqin365/lightapp/view/an;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->h:Lcom/waiqin365/lightapp/view/an;

    return-object v0
.end method

.method private b()V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->e:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/view/ai;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/ai;-><init>(Lcom/waiqin365/lightapp/view/ag;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    invoke-virtual {v2}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v2

    const-wide/16 v4, 0x12c

    add-long/2addr v2, v4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->h:Lcom/waiqin365/lightapp/view/an;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->h:Lcom/waiqin365/lightapp/view/an;

    const/4 v1, 0x1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/view/an;->popupWindowStatus(Z)V

    :cond_1
    return-void
.end method

.method private b(Lcom/waiqin365/lightapp/view/ak;)V
    .locals 2

    sget-object v0, Lcom/waiqin365/lightapp/view/aj;->a:[I

    invoke-virtual {p1}, Lcom/waiqin365/lightapp/view/ak;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f040020

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f040021

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->c:Landroid/view/animation/Animation;

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f040024

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f040025

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->c:Landroid/view/animation/Animation;

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f040022

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f040023

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->c:Landroid/view/animation/Animation;

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f04001e

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->b:Landroid/view/animation/Animation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->a:Landroid/content/Context;

    const v1, 0x7f04001f

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->c:Landroid/view/animation/Animation;

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/ag;)Lcom/waiqin365/lightapp/view/al;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/view/ag;)Landroid/view/animation/Animation;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->c:Landroid/view/animation/Animation;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/al;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/al;->dismiss()V

    :cond_0
    return-void
.end method

.method public a(Landroid/view/View;II)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/al;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0, p1, p2, p3}, Lcom/waiqin365/lightapp/view/al;->showAsDropDown(Landroid/view/View;II)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/ag;->b()V

    :cond_0
    return-void
.end method

.method public a(Landroid/view/View;III)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/al;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ag;->d:Lcom/waiqin365/lightapp/view/al;

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/waiqin365/lightapp/view/al;->showAtLocation(Landroid/view/View;III)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/ag;->b()V

    :cond_0
    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/view/an;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/ag;->h:Lcom/waiqin365/lightapp/view/an;

    return-void
.end method
